<template>
	<view>
		<!-- <web-view src="https://sndcard.com/stu_side_h5/xj/privacy_policy.html"></web-view> -->
		<web-view :src="requestURL + url"></web-view>
	</view>
</template>

<script>
	import {requestURL} from '../../common/utils/config.js'
	export default {
		onLoad:function(option){
			this.url = option.url
			console.log(this.url)
			if (option.title) {
				uni.setNavigationBarTitle({
					title: option.title
				})
			}
		},
		data() {
			return {
				requestURL: requestURL,
				url: ''
			}
		}
	}
</script>

<style>
</style>
